Optimal. Leaf size=92 \[ \frac {2^{\frac {1}{2}+m} a \, _2F_1\left (\frac {5}{2},\frac {1}{2}-m;\frac {7}{2};\frac {1}{2} (1-\sec (e+f x))\right ) (1+\sec (e+f x))^{\frac {1}{2}-m} (a+a \sec (e+f x))^{-1+m} (c-c \sec (e+f x))^2 \tan (e+f x)}{5 f} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.08, antiderivative size = 92, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 3, integrand size = 32, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.094, Rules used = {4046, 72, 71}
\begin {gather*} \frac {a 2^{m+\frac {1}{2}} \tan (e+f x) (c-c \sec (e+f x))^2 (\sec (e+f x)+1)^{\frac {1}{2}-m} (a \sec (e+f x)+a)^{m-1} \, _2F_1\left (\frac {5}{2},\frac {1}{2}-m;\frac {7}{2};\frac {1}{2} (1-\sec (e+f x))\right )}{5 f} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 71
Rule 72
Rule 4046
Rubi steps
\begin {align*} \int \sec (e+f x) (a+a \sec (e+f x))^m (c-c \sec (e+f x))^2 \, dx &=-\frac {(a c \tan (e+f x)) \text {Subst}\left (\int (a+a x)^{-\frac {1}{2}+m} (c-c x)^{3/2} \, dx,x,\sec (e+f x)\right )}{f \sqrt {a+a \sec (e+f x)} \sqrt {c-c \sec (e+f x)}}\\ &=-\frac {\left (2^{-\frac {1}{2}+m} a c (a+a \sec (e+f x))^{-1+m} \left (\frac {a+a \sec (e+f x)}{a}\right )^{\frac {1}{2}-m} \tan (e+f x)\right ) \text {Subst}\left (\int \left (\frac {1}{2}+\frac {x}{2}\right )^{-\frac {1}{2}+m} (c-c x)^{3/2} \, dx,x,\sec (e+f x)\right )}{f \sqrt {c-c \sec (e+f x)}}\\ &=\frac {2^{\frac {1}{2}+m} a \, _2F_1\left (\frac {5}{2},\frac {1}{2}-m;\frac {7}{2};\frac {1}{2} (1-\sec (e+f x))\right ) (1+\sec (e+f x))^{\frac {1}{2}-m} (a+a \sec (e+f x))^{-1+m} (c-c \sec (e+f x))^2 \tan (e+f x)}{5 f}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.25, size = 89, normalized size = 0.97 \begin {gather*} \frac {2^{\frac {1}{2}+m} c^2 \, _2F_1\left (\frac {5}{2},\frac {1}{2}-m;\frac {7}{2};\frac {1}{2} (1-\sec (e+f x))\right ) (-1+\sec (e+f x))^2 (1+\sec (e+f x))^{-\frac {1}{2}-m} (a (1+\sec (e+f x)))^m \tan (e+f x)}{5 f} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.23, size = 0, normalized size = 0.00 \[\int \sec \left (f x +e \right ) \left (a +a \sec \left (f x +e \right )\right )^{m} \left (c -c \sec \left (f x +e \right )\right )^{2}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} c^{2} \left (\int \left (a \sec {\left (e + f x \right )} + a\right )^{m} \sec {\left (e + f x \right )}\, dx + \int \left (- 2 \left (a \sec {\left (e + f x \right )} + a\right )^{m} \sec ^{2}{\left (e + f x \right )}\right )\, dx + \int \left (a \sec {\left (e + f x \right )} + a\right )^{m} \sec ^{3}{\left (e + f x \right )}\, dx\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {{\left (a+\frac {a}{\cos \left (e+f\,x\right )}\right )}^m\,{\left (c-\frac {c}{\cos \left (e+f\,x\right )}\right )}^2}{\cos \left (e+f\,x\right )} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________